import { createRouter, createWebHistory } from 'vue-router'

import Search from '@/views/search.vue'
import Register from '@/views/register.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/search',
      name: 'search',
      component: Search,
    },
    {
      path: '/register',
      name: 'register',
      component: Register,
    },

  ],
})

export default router
